package com.lyun.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyun.pojo.MovementLike;

public interface MovementLikeService extends IService<MovementLike> {
    Integer isLiked(Long movementId, Long selfId);

    Integer isLoved(Long movementId, Long selfId);

    int getLikeCount(Long id);

    int getLoveCount(Long id);

    int updateOrSave(Long userId,Long movementId);

    int deleteOrUpdate(Long userId, Long movementId);

}
